package edu.java.lectures.lec09.javadoc;

public class JavadocExample {

    /**
     * Executes division of two integers.
     * 
     * <p>
     * Test test <code>a</code> aaaaa.
     * </p>
     * 
     * @param a
     *            Divident.
     * @param b
     *            Divisor.
     * 
     * @return Returns <code>true</code> if dyra-byra, otherwise -
     *         <code>false</code>.
     * 
     * @throws IllegalArgumentException
     *             Thrown when the divisor is zero.
     */
    private static boolean doDivision(int a, int b) {
	// throws IllegalArgumentException {
	if (b == 0) {
	    throw new IllegalArgumentException(
		    "Illegal argument: divizor could NOT be zero.");
	}
	a = a / b;
	return true;
    }
}
